home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Reaching the Stars & Bey…Images of NASA Collection
/
Reaching the Stars and Beyond: Images of NASA Collection.iso
/
install.bat
next >
Wrap
DOS Batch File
|
1993-10-01
|
17KB
|
343 lines
ECHO OFF
CLS
IF %1 !==! GOTO INSTR
IF %1==1 GOTO GETDRIVE
IF %1==2 GOTO GETDRIVE
IF %1==3 GOTO GETDRIVE
IF %1==4 GOTO GETDRIVE
IF %1==5 GOTO GETDRIVE
IF %1==6 GOTO GETDRIVE
GOTO INSTR
:GETDRIVE
IF %2 !==! GOTO INSTR
IF %2==C: GOTO FINDFILE
IF %2==c: GOTO FINDFILE
IF %2==D: GOTO FINDFILE
IF %2==d: GOTO FINDFILE
IF %2==E: GOTO FINDFILE
IF %2==e: GOTO FINDFILE
IF %2==F: GOTO FINDFILE
IF %2==f: GOTO FINDFILE
IF %2==G: GOTO FINDFILE
IF %2==g: GOTO FINDFILE
IF %2==H: GOTO FINDFILE
IF %2==h: GOTO FINDFILE
IF %2==I: GOTO FINDFILE
IF %2==i: GOTO FINDFILE
IF %2==J: GOTO FINDFILE
IF %2==j: GOTO FINDFILE
IF %2==K: GOTO FINDFILE
IF %2==k: GOTO FINDFILE
IF %2==L: GOTO FINDFILE
IF %2==l: GOTO FINDFILE
IF %2==M: GOTO FINDFILE
IF %2==m: GOTO FINDFILE
IF %2==N: GOTO FINDFILE
IF %2==n: GOTO FINDFILE
IF %2==O: GOTO FINDFILE
IF %2==o: GOTO FINDFILE
IF %2==P: GOTO FINDFILE
IF %2==p: GOTO FINDFILE
IF %2==Q: GOTO FINDFILE
IF %2==q: GOTO FINDFILE
IF %2==R: GOTO FINDFILE
IF %2==r: GOTO FINDFILE
IF %2==S: GOTO FINDFILE
IF %2==s: GOTO FINDFILE
IF %2==T: GOTO FINDFILE
IF %2==t: GOTO FINDFILE
IF %2==U: GOTO FINDFILE
IF %2==u: GOTO FINDFILE
IF %2==V: GOTO FINDFILE
IF %2==v: GOTO FINDFILE
IF %2==W: GOTO FINDFILE
IF %2==w: GOTO FINDFILE
IF %2==X: GOTO FINDFILE
IF %2==x: GOTO FINDFILE
IF %2==Y: GOTO FINDFILE
IF %2==y: GOTO FINDFILE
IF %2==Z: GOTO FINDFILE
IF %2==z: GOTO FINDFILE
GOTO INSTR
:FINDFILE
IF EXIST VIEWGIF1.BAT GOTO INSTALL
:INSTR
echo.
echo ╔═══════════════════════════════════════════════════════════════════╗
echo ║ ║
echo ║ To install the file viewers from the CD-ROM to your hard drive, ║
echo ║ change to the CD-ROM drive, and at the DOS prompt, type: ║
echo ║ ║
echo ║ INSTALL n C: ║
echo ║ ║
echo ║ then press {ENTER}. In place of the letter n put the number of ║
echo ║ the program you wish to install. (See the file README.DOC for ║
echo ║ more detailed instructions.) If you wish to install to a drive ║
echo ║ other than C: specify that drive instead. You may also specify ║
echo ║ a subdirectory. ║
echo ║ ╔═════╤══════════════════╤═══════════╣
echo ║ For instance: ║ n= │ to install │ for ║
echo ║ ╟─────┼──────────────────┼───────────╢
echo ║ INSTALL 1 D: CSSHOW ║ 1 │ GIFwiz │ DOS ║
echo ║ ║ 2 │ CompuShow │ DOS ║
echo ║ or ║ 3 │ VPIC vers. 5.1 │ DOS ║
echo ║ ║ 4 │ VPIC vers. 6.0 │ DOS ║
echo ║ INSTALL 2 E: YOURDIR ║ 5 │ Paint Shop Pro │ Windows ║
echo ║ ║ 6 │ WinGIF │ Windows ║
echo ╚══════════════════════════════╩═════╧══════════════════╧═══════════╝
echo.
GOTO END
:INSTALL
echo.
echo ╔═══════════════════════════════════════════════════════════════════╗
echo ║ ║
echo ║ ║
echo ║ ║
echo ║ ║
echo ║ ║
echo ║ ║
echo ║ ║
echo ║ Thank you for purchasing... ║
echo ║ ║
echo ║ Reaching the Stars and Beyond: ║
echo ║ "Images of NASA" Collection ║
echo ║ ║
echo ║ ║
echo ║ ║
echo ║ ║
echo ║ ║
echo ║ ║
echo ║ ║
echo ║ ║
echo ╚═══════════════════════════════════════════════════════════════════╝
echo.
pause
cls
IF %3 !==! GOTO DEFAULTDIR
IF EXIST %2\%3\NUL GOTO UNZIPN
MD %2\%3
GOTO UNZIPN
:DEFAULTDIR
IF EXIST %2\VIEWERS\NUL GOTO UNZIPN
MD %2\VIEWERS
:UNZIPN
IF %1==1 GOTO PROGRAM1
IF %1==2 GOTO PROGRAM2
IF %1==3 GOTO PROGRAM3
IF %1==4 GOTO PROGRAM4
IF %1==5 GOTO PROGRAM5
IF %1==6 GOTO PROGRAM6
:PROGRAM1
IF %3 !==! GOTO ALT1
\PKZIP\PKUNZIP \VIEWGIF\GIFWIZ %2\%3
GOTO LOGDIR
:ALT1
\PKZIP\PKUNZIP \VIEWGIF\GIFWIZ %2\VIEWERS
GOTO LOGDIR
:PROGRAM2
IF %3 !==! GOTO ALT2
\PKZIP\PKUNZIP \VIEWERS\CSHW850A %2\%3
GOTO LOGDIR
:ALT2
\PKZIP\PKUNZIP \VIEWERS\CSHW850A %2\VIEWERS
GOTO LOGDIR
:PROGRAM3
IF %3 !==! GOTO ALT3
\PKZIP\PKUNZIP \VIEWERS\VPIC51 %2\%3
GOTO LOGDIR
:ALT3
\PKZIP\PKUNZIP \VIEWERS\VPIC51 %2\VIEWERS
GOTO LOGDIR
:PROGRAM4
IF %3 !==! GOTO ALT4
\PKZIP\PKUNZIP \VIEWERS\VPIC60 %2\%3
GOTO LOGDIR
:ALT4
\PKZIP\PKUNZIP \VIEWERS\VPIC60 %2\VIEWERS
GOTO LOGDIR
:PROGRAM5
IF %3 !==! GOTO ALT5
\PKZIP\PKUNZIP \VIEWERS\PSPRO102 %2\%3
GOTO LOGDIR
:ALT5
\PKZIP\PKUNZIP \VIEWERS\PSPRO102 %2\VIEWERS
GOTO LOGDIR
:PROGRAM6
IF %3 !==! GOTO ALT6
\PKZIP\PKUNZIP \VIEWERS\WINGIF14 %2\%3
GOTO LOGDIR
:ALT6
\PKZIP\PKUNZIP \VIEWERS\WINGIF14 %2\VIEWERS
:LOGDIR
%2
CD\
IF %3 !==! GOTO LOGDEFAULTDIR
CD \%3
GOTO READEM
:LOGDEFAULTDIR
CD \VIEWERS
:READEM
CLS
IF %1==1 GOTO READ1
IF %1==2 GOTO READ2
IF %1==3 GOTO READ3
IF %1==4 GOTO READ4
IF %1==5 GOTO READ5
IF %1==6 GOTO READ6
:READ1
echo.
echo ╔═══════════════════════════════════════════════════════════════════╗
echo ║ ║
echo ║ ║
echo ║ ║
echo ║ GIFwiz has been installed. ║
echo ║ ║
echo ║ Read the file GIFWIZ.DOC for information about the program. ║
echo ║ ║
echo ║ ║
echo ║ ║
echo ║ ║
echo ║ ║
echo ║ ║
echo ║ ║
echo ║ Thank you for purchasing... ║
echo ║ ║
echo ║ Reaching the Stars and Beyond: ║
echo ║ "Images of NASA" Collection ║
echo ║ ║
echo ║ ║
echo ║ ║
echo ╚═══════════════════════════════════════════════════════════════════╝
echo.
GOTO END
:READ2
echo.
echo ╔═══════════════════════════════════════════════════════════════════╗
echo ║ ║
echo ║ ║
echo ║ ║
echo ║ CompuShow has been installed. ║
echo ║ ║
echo ║ Read the file CSHOW.DOC for information about the program. ║
echo ║ ║
echo ║ ║
echo ║ ║
echo ║ ║
echo ║ ║
echo ║ ║
echo ║ ║
echo ║ Thank you for purchasing... ║
echo ║ ║
echo ║ Reaching the Stars and Beyond: ║
echo ║ "Images of NASA" Collection ║
echo ║ ║
echo ║ ║
echo ║ ║
echo ╚═══════════════════════════════════════════════════════════════════╝
echo.
GOTO END
:READ3
echo.
echo ╔═══════════════════════════════════════════════════════════════════╗
echo ║ ║
echo ║ ║
echo ║ ║
echo ║ VPIC (vers. 5.1) has been installed. ║
echo ║ ║
echo ║ Read the file README.1ST for information about the program. ║
echo ║ ║
echo ║ ║
echo ║ ║
echo ║ ║
echo ║ ║
echo ║ ║
echo ║ ║
echo ║ Thank you for purchasing... ║
echo ║ ║
echo ║ Reaching the Stars and Beyond: ║
echo ║ "Images of NASA" Collection ║
echo ║ ║
echo ║ ║
echo ║ ║
echo ╚═══════════════════════════════════════════════════════════════════╝
echo.
GOTO END
:READ4
echo.
echo ╔═══════════════════════════════════════════════════════════════════╗
echo ║ ║
echo ║ ║
echo ║ ║
echo ║ VPIC (vers. 6.0c) has been installed. ║
echo ║ ║
echo ║ Read the file README.1ST for information about the program. ║
echo ║ ║
echo ║ ║
echo ║ ║
echo ║ ║
echo ║ ║
echo ║ ║
echo ║ ║
echo ║ Thank you for purchasing... ║
echo ║ ║
echo ║ Reaching the Stars and Beyond: ║
echo ║ "Images of NASA" Collection ║
echo ║ ║
echo ║ ║
echo ║ ║
echo ╚═══════════════════════════════════════════════════════════════════╝
echo.
GOTO END
:READ5
echo.
echo ╔═══════════════════════════════════════════════════════════════════╗
echo ║ ║
echo ║ ║
echo ║ ║
echo ║ Paint Shop Pro has been placed on your hard drive. You ║
echo ║ will now need to install it within Windows. ║
echo ║ ║
echo ║ Read the file README.TXT for information about the program. ║
echo ║ ║
echo ║ ║
echo ║ ║
echo ║ ║
echo ║ ║
echo ║ ║
echo ║ Thank you for purchasing... ║
echo ║ ║
echo ║ Reaching the Stars and Beyond: ║
echo ║ "Images of NASA" Collection ║
echo ║ ║
echo ║ ║
echo ║ ║
echo ╚═══════════════════════════════════════════════════════════════════╝
echo.
GOTO END
:READ6
echo.
echo ╔═══════════════════════════════════════════════════════════════════╗
echo ║ ║
echo ║ ║
echo ║ ║
echo ║ WinGIF has been placed on your hard drive. You will now ║
echo ║ need to install it within Windows. ║
echo ║ ║
echo ║ Read the file WINGIF.TXT for information about the program. ║
echo ║ ║
echo ║ ║
echo ║ ║
echo ║ ║
echo ║ ║
echo ║ ║
echo ║ Thank you for purchasing... ║
echo ║ ║
echo ║ Reaching the Stars and Beyond: ║
echo ║ "Images of NASA" Collection ║
echo ║ ║
echo ║ ║
echo ║ ║
echo ╚═══════════════════════════════════════════════════════════════════╝
echo.
:END